import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 666
 * Date: 2022-11-29
 * Time: 23:16
 */
public class test6 {
    public static void main(String[] args) {
        /*
        输入正整数n，输出它的倒顺数字串。如n=6时，输出
         */
        Scanner scanner = new Scanner(System.in);
        int a=scanner.nextInt();
        for (int i = 1; i <=a ; i++) {
            if(a>1){
                System.out.print(i+" ");
            }else{
                System.out.print(1);
            }
        }

        for (int i=a-1;i>0;i--){
            if(i>1){
                System.out.print(i+" ");
            }else{
                System.out.print(1);
            }

        }

    }
    public static void main2(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a=scanner.nextDouble();
        double b=scanner.nextDouble();
        if(a<0 || b<0 || a>727|| b> 2.72){
            System.out.println("input out of range");
        }
        /*
        BMI小于18.5 ：输出“thin”。
BMI大于等于18.5小于24 ：输出“fit”。
BMI大于等于24小于28 ：输出“overweight”。
BMII大于等于28 ：输出“fat”。
         */
        double bmi=a/(b*b);
        if(bmi<18.5){
            System.out.println("thin");

        }else if(bmi>=18.5&& bmi<24){
            System.out.println("fit");
        }else if(bmi>=24&& bmi<28){
            System.out.println("overweight");

        }else {
            System.out.println("fat");
        }
    }
    public static void main1(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a=scanner.nextDouble();
        if(((a%4==0)&&(a%100!=0)) || (a%400==0)){
            System.out.println("yes");
        }else {
            System.out.println("no");
        }
    }
}
